package com.bdqn.boot.controller;

import com.bdqn.boot.beans.Movie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Hasee
 * @version 1.0
 * @className MovieCotroller
 * @description TODD
 * @date 2025/2/20 16:41
 */
@RestController
public class MovieCotroller {
    @Autowired
    Movie movie;
    @RequestMapping("moive")
    public Movie getMovie(){
        return movie;
    }
}
